#pragma once

class MyItem
{
public:
	MyItem() { }
	~MyItem() { }
	void setRect(RECT *rc);
	void setText(char *text);
	void draw(HDC hdc);

protected:
	RECT m_rc; // Location of the item
	std::string m_string;

};

class MyList
{
public:
	MyList() { }
	~MyList() { }
	void setRect(RECT *rc);
	void drawRect(HDC hdc);
	void addItem(MyItem *item);

protected:
	RECT m_rc;
	std::list<MyItem *> m_itemlist;
};
